/* ============================================================
  NAVIGATION
============================================================ */
nav ul {
    list-style-type: none;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    /* display: block !important;
    text-align: left;
    margin-bottom: 4px; */
}

nav ul li a {
    display: block;
    padding: 5px 20px;
    color: #fff;
    background-color: none;
}

nav ul li a:hover {
    color: #fff;
    background-color: #238b68;
}

nav ul li a.active {
    color: #fff;
    background-color: #238b68;
}

.navbar-custom {
    /*background-color: #00519a;*/
    /*border-color: #003667;*/
    margin-top: 18px;
}
.navbar-default{
    background-color: transparent !important;
    border:none !important;
    margin-bottom:20px !important;
}
.navbar-right{
    margin-top: 18px;
}
.navbar ul li a{
    margin-top: 18px;
    font-weight: 600;
    }
.navbar-default .navbar-nav > li > a {
    color:#2a2d93 !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}
.navbar-default .navbar-nav > li{
    border-bottom: 2px solid transparent !important;
}
.navbar-default .navbar-nav > li:hover{
    border-bottom: 2px solid #2a2d93 !important;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color:#2a2d93 !important;
    border-bottom: 1px solid #000;
}


.navbar-custom .navbar-brand {
    color: #fff;
}

.navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-custom .navbar-text {
    color: #fff;
}

.navbar-custom .navbar-nav > li > a {
    color: #fff;
}

.navbar-custom .navbar-nav > li > a:hover, .navbar-custom .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-custom .navbar-nav > .active > a, .navbar-custom .navbar-nav > .active > a:hover, .navbar-custom .navbar-nav > .active > a:focus {
    color: #fff;
    /*background-color: #003667;*/
}

.navbar-custom .navbar-nav > .disabled > a, .navbar-custom .navbar-nav > .disabled > a:hover, .navbar-custom .navbar-nav > .disabled > a:focus {
    color: #444;
    background-color: transparent;
}

.navbar-custom .navbar-toggle {
    border-color: #003667;
}

.navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus {
    background-color: #003667;
}

.navbar-custom .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-custom .navbar-collapse,
.navbar-custom .navbar-form {
    border-color: #003e76;
}

.navbar-custom .navbar-nav > .open > a, .navbar-custom .navbar-nav > .open > a:hover, .navbar-custom .navbar-nav > .open > a:focus {
    background-color: #003667;
    color: #fff;
}

@media (max-width: 767px) {
    .navbar-custom .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #003667;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu .divider {
        background-color: #003667;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: transparent;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > .active > a, .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #003667;
    }

    .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }
}

.navbar-custom .navbar-link {
    color: #fff;
}

.navbar-custom .navbar-link:hover {
    color: #fff;
}

.navbar-custom .btn-link {
    color: #fff;
}

.navbar-custom .btn-link:hover, .navbar-custom .btn-link:focus {
    color: #fff;
}

.navbar-custom .btn-link[disabled]:hover, .navbar-custom .btn-link[disabled]:focus, fieldset[disabled] .navbar-custom .btn-link:hover, fieldset[disabled] .navbar-custom .btn-link:focus {
    color: #444;
}
@media (min-width: 768px) {
    .navbar-custom {
        border-radius: 0px;
    }
}
/* ============================================================
  GLOBAL
============================================================ */
.effects {
    padding-left: 15px;
}

.effects .img {
    position: relative;
    float: left;
    margin-bottom: 5px;
    width: 100%;
    overflow: hidden;
    padding-left: 1px
}

.effects .img:nth-child(n) {
    margin-right: 5px;
}

.effects .img:first-child {
    margin-left: -15px;
}

.effects .img:last-child {
    margin-right: 0;
}

.effects .img img {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 85%;
    height: auto;
}

.overlay {
    display: block;
    position: absolute;
    z-index: 20;
    /*  background:rgba(255, 187, 80, 0.76) none repeat scroll 0% 0%;*/
    overflow: hidden;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

a.close-overlay {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 45px;
    height: 45px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 45px;
    text-align: center;
    background-color: #000;
    cursor: pointer;
}

a.close-overlay.hidden {
    display: none;
}

a.expand {
    display: block;
    position: absolute;
    z-index: 100;
    /* width: 60px;
     height: 60px;*/
    /* border: solid 5px #fff;*/
    background-color: rgba(255, 255, 255, 0.67);
    text-align: center;
    color: #000000;
    /*line-height: 50px;
    font-weight: 700;
    font-size: 30px;*/
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
}

/* ============================================================
  EFFECT 1 - SLIDE IN BOTTOM
============================================================ */
#effect-1 .overlay {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;

    border-radius: 150px;
    -webkit-border-radius: 150px;
    -moz-border-radius: 150px;
}

#effect-1 .overlay a.expand {
    /*  left: 0;
      right: 0;
      bottom: 50%;
      margin: 0 auto -30px auto;*/
    left: 0px;
    right: 0px;
    bottom: 22%;
    margin: 1px auto -20px;
}

#effect-1 .img.hover .overlay {
    height: 100%;
}

/* ============================================================
  EFFECT 2 - SLIDE IN TOP
============================================================ */
#effect-2 .overlay {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
}

#effect-2 .overlay a.expand {
    left: 0;
    right: 0;
    top: 50%;
    margin: -30px auto 0 auto;
}

#effect-2 .img.hover .overlay {
    height: 100%;
}

/* ============================================================
  EFFECT 3 - SLIDE IN LEFT
============================================================ */
#effect-3 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
}

#effect-3 .overlay a.expand {
    top: 0;
    bottom: 0;
    left: 50%;
    margin: auto 0 auto -30px;
}

#effect-3 .img.hover .overlay {
    width: 100%;
}

/* ============================================================
  EFFECT 4 - SLIDE IN RIGHT
============================================================ */
#effect-4 .overlay {
    top: 0;
    bottom: 0;
    right: 0;
    width: 0;
    height: 100%;
}

#effect-4 .overlay a.expand {
    top: 0;
    bottom: 0;
    right: 50%;
    margin: auto -30px auto 0;
}

#effect-4 .img {
    overflow: hidden;
}

#effect-4 .img.hover .overlay {
    width: 100%;
}

/* ============================================================
  EFFECT 5 - ICON BORDER ANIMATE
============================================================ */
#effect-5 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#effect-5 .overlay a.expand {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#effect-5 .img.hover .overlay {
    opacity: 1;
}

#effect-5 .img.hover .overlay a.expand {
    width: 60px;
    height: 60px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
}

/* ============================================================
  EFFECT 6 - ICON BOUNCE IN
============================================================ */
#effect-6 .overlay {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#effect-6 .overlay a.expand {
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    opacity: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#effect-6 .img.hover .overlay {
    opacity: 1;
}

#effect-6 .img.hover .overlay a.expand {
    top: 50%;
    margin-top: -30px;
    opacity: 1;
}

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1100px) {
    .effects {
        padding-left: 5px;
    }

    .effects .img {
        width: 100%;
    }

    .effects .img:nth-child(n) {
        margin-right: 5px;
    }

    .effects .img:first-child {
        margin-left: 0;
    }

    .effects .img:nth-child(2n-1) {
        margin-left: -5px;
    }

    .effects .img:nth-child(2n) {
        margin-right: 0;
    }

    .effects .img:last-child {
        margin-right: 0;
    }
}

@media only screen and (max-width: 520px) {
    .effects .img {
        width: 100%;
    }

    .effects .img:nth-child(n) {
        margin-right: 0;
    }

    .effects .img:first-child {
        margin-left: 0;
    }

    .effects .img:nth-child(2n-1) {
        margin-left: 0;
    }

    .effects .img:nth-child(2n) {
        margin-right: 0;
    }

    .effects .img:last-child {
        margin-right: 0;
    }

    .effects .img img {
        margin: 0 auto;
    }
}
